/** When your routing table is too long, you can split it into small modules**/

import Layout from '@/views/layout/Layout'

const articleRouter = {
  path: '/article',
  component: Layout,
  redirect: '/',
  alwaysShow: true,
  meta: { title: 'article', icon: 'zip' },
  children: [
    {
      path: 'list',
      component: () => import('@/views/article/articleList'),
      name: 'ArticleList',
      meta: { title: 'articleList' }
    },
    {
      hidden: true,
      path: 'edit',
      component: () => import('@/views/article/edit'),
      name: 'ArticleEdit',
      meta: { title: 'edit' }
    }
  ]
}
export default articleRouter
